package semiProject.models;

public class PaperVO {
	
//	pno : email, fname, lname
//	pno : title,abstracts , attach,writer,panel, 
//	      score1, score2,score3, score4, comment, pcomment, regdate
	// 멤버변수 선언
	private String email;
	private String fname;
	private String lname;
	private String title;
	private String abstracts;
	private String attach;
	private String writer;
	private String panel;
	
	private int score1;
	private int score2;
	private int score3;
	private int score4;
	
	private String comment;
	private String pcomment;
	private String regdate;
	
	//생성자
	public PaperVO(String email,String fname,String lname,String title,String abstracts,
			String attach,String writer,String panel,int score1,int score2,int score3,
			int score4,String comment,String pcomment,String regdate) {
		
		this.email = email;
		this.fname = fname;
		this.lname = lname;
		this.title = title;
		this.abstracts = abstracts;
		this.attach = attach;
		this.writer = writer;
		this.panel = panel;
		this.score1 = score1;
		this.score2 = score2;
		this.score3 = score3;
		this.score4 = score4;
		this.email = comment;
		this.email = pcomment;
		this.email = regdate;
		
	}
	// setter,getter

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFname() {
		return fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAbstracts() {
		return abstracts;
	}

	public void setAbstracts(String abstracts) {
		this.abstracts = abstracts;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getWriter() {
		return writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getPanel() {
		return panel;
	}

	public void setPanel(String panel) {
		this.panel = panel;
	}

	public int getScore1() {
		return score1;
	}

	public void setScore1(int score1) {
		this.score1 = score1;
	}

	public int getScore2() {
		return score2;
	}

	public void setScore2(int score2) {
		this.score2 = score2;
	}

	public int getScore3() {
		return score3;
	}

	public void setScore3(int score3) {
		this.score3 = score3;
	}

	public int getScore4() {
		return score4;
	}

	public void setScore4(int score4) {
		this.score4 = score4;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getPcomment() {
		return pcomment;
	}

	public void setPcomment(String pcomment) {
		this.pcomment = pcomment;
	}

	public String getRegdate() {
		return regdate;
	}

	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}
	


/*	
	
	// toString
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();	
		sb.append(bkno).append("/")
		.append(name).append("/")
		.append(publisher).append("/")
		.append(writer).append("/")
		.append(genre).append("/")
		.append(price).append("/")
		.append(isRent).append("/")
		.append(regdate).append("/");
		
		//return sb; // 이렇게 하면 주소값이 나온다..
		return sb.toString();


		String result = "";
		result += bkno+"/"+name+"/"+publisher+"/"+writer+"/"+genre+"/"+price+"/"+isRent+"/"+regdate;
		return result;
	}
	
	*/
	
	
	
	      
}




















